﻿using Framework.Model;

namespace CharacterModel
{
    public class FaceModelFactory
    {
        public Repository Repository { get; set; }

        public FaceModelFactory(Repository repository)
        {
            Repository = repository;
        }

        public FaceModel Get(string faceIdentifier)
        {
            return new FaceModel(faceIdentifier) {Repository = Repository};
        }
    }
}